
/*
 * @Author: mhb
 * @Date: 2021-11-23 11:08:06
 * @LastEditTime: 2023-03-09 15:13:19
 * @LastEditors: wuyue
 * @Description: 质量模块路由
 * @FilePath: \cscec-pms-admin\src\config\routers\quality.js
 */
import { RouteView } from '@/layouts'

export default {
    path: '/quality',
    component: RouteView,
    name: 'quality',
    meta: {
        title: '质量',
        icon: 'user'
    },
    redirect: '/quality/currency/subItemMaintenance',
    children: [
        {
            path: '/quality/currency',
            name: 'currency',
            meta: {
                title: '质量基础信息'
            },
            component: RouteView,
            redirect: '/quality/currency/subItemMaintenance',
            children: [
                {
                    path: '/quality/currency/subItemMaintenance',
                    name: 'subItemMaintenance',
                    meta: {
                        title: '基准分部分项'
                    },
                    component: () => import('@/views/quality/currency/subItemMaintenance')
                },
                {
                    path: '/quality/currency/projectDivision',
                    name: 'projectDivision',
                    meta: {
                        title: '项目分部分项'
                    },
                    component: () => import('@/views/quality/currency/projectDivision')
                },
                {
                    path: 'updateProjectDivision',
                    name: 'updateProjectDivision',
                    meta: {
                        title: '项目分部分项详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/currency/projectDivision/updateProjectDivision')
                },
                {
                    path: '/quality/currency/subcontractorsDistrictManage',
                    props: {
                        type: 0
                    },
                    name: '/quality/currency/subcontractorsDistrictManage',
                    meta: {
                        title: '分包商责任区域管理'
                    },
                    component: () => import('@/views/quality/currency/subcontractorsDistrictManage')
                },
                {
                    path: '/quality/riskAssessmentTable',
                    name: 'qualityRiskAssessmentTable',
                    meta: {
                        title: '质量风险评价表'
                    },
                    component: () => import('@/views/quality/riskAssessmentTable')
                },
                {
                    path: '/quality/qualityInspection/problemClassificationMaintenance',
                    name: 'problemClassificationMaintenance',
                    meta: {
                        title: '工程实体问题清单'
                    },
                    component: () => import('@/views/quality/qualityInspection/problemClassificationMaintenance')
                },
                {
                    path: '/quality/qualityInspection/managementBehavior',
                    name: 'managementBehavior',
                    meta: {
                        title: '管理行为问题清单'
                    },
                    component: () => import('@/views/quality/qualityInspection/managementBehavior')
                },
                {
                    path: '/quality/qualityInspection/engineeringData',
                    name: 'engineeringData',
                    meta: {
                        title: '工程资料问题清单'
                    },
                    component: () => import('@/views/quality/qualityInspection/engineeringData')
                },
                {
                    path: '/quality/qualityInspection/projectMeasures',
                    name: 'engineeringData',
                    meta: {
                        title: '工程措施问题清单'
                    },
                    component: () => import('@/views/quality/qualityInspection/projectMeasures')
                },
                {
                    path: '/quality/qualityInspection/inspectionTypeMaintenance',
                    name: 'inspectionTypeMaintenance',
                    meta: {
                        title: '质量检查类型'
                    },
                    component: () => import('@/views/quality/qualityInspection/inspectionTypeMaintenance')
                },
                {
                    path: '/quality/governanceScore/governanceScoreClass',
                    name: '/quality/governanceScore/governanceScoreClass',
                    meta: {
                        title: '专项治理评分表'
                    },
                    component: () => import('@/views/quality/governanceScore/governanceScoreClass')
                },
                {
                    path: '/quality/measuredAmount/inspectionMaintenance',
                    name: '/quality/measuredAmount/inspectionMaintenance',
                    meta: {
                        title: '实测实量检查项清单'
                    },
                    component: () => import('@/views/quality/measuredAmount/inspectionMaintenance')
                },
                {
                    path: '/quality/measuredAmount/pointListMaintenance',
                    name: '/quality/measuredAmount/pointListMaintenance',
                    meta: {
                        title: '实测实量点位清单'
                    },
                    component: () => import('@/views/quality/measuredAmount/pointListMaintenance')
                },
                {
                    path: '/quality/currency/subcontractorsDistrictSetting',
                    name: 'subcontractorsDistrictSetting',
                    meta: {
                        title: '分包商责任区域',
                        noTab: true
                    },
                    component: () => import('@/views/quality/currency/subcontractorsDistrictSetting')
                },
                {
                    path: '/quality/denominationSetting',
                    component: () => import('@/views/safetySupervision/behaviorSafetyStar/denominationSetting'),
                    name: '/quality/denominationSetting',
                    meta: {
                        title: '工匠之星发卡面额设置'
                    }
                },
                {
                    path: '/quality/rewardReason',
                    props: {
                        type: 1
                    },
                    component: () => import('@/views/safetySupervision/behaviorSafetyStar/rewardReason'),
                    name: '/quality/rewardReason',
                    meta: {
                        title: '工匠之星获奖理由'
                    }
                },
                {
                    path: '/safetySupervision/basicSetting/contractType',
                    component: () => import('@/views/safetySupervision/basicSetting/contractType'),
                    name: 'contractType',
                    meta: {
                        title: '合同类型'
                    }
                },
                {
                    path: '/postDutyBook',
                    component: () => import('@/views/quality/postDutyBook'),
                    name: 'postDutyBook',
                    meta: {
                        title: '岗位质量责任目标协议书'
                    }
                },
                {
                    path: '/postDutyBookEdit',
                    component: () => import('@/views/quality/postDutyBook/postDutyBookEdit'),
                    name: 'postDutyBookEdit',
                    meta: {
                        title: '质量责任书详情',
                        noTab: true
                    }
                },
                {
                    path: '/quality/riskJudgmentCriteria',
                    component: () => import('@/views/quality/riskJudgmentCriteria'),
                    name: '/quality/riskJudgmentCriteria',
                    meta: {
                        title: '质量风险判定标准',
                    }
                },
                {
                    path: '/quality/currency/equipmentNameManagementList',
                    component: () => import('@/views/quality/currency/equipmentNameManagement/list'),
                    name: 'equipmentNameManagementList',
                    meta: {
                        title: '计量设备名称管理'
                    }
                },
            ]
        },
        {
            path: 'qualityStar',
            name: 'qualityStar',
            component: RouteView,
            redirect: '/qualityStarList',
            meta: {
                title: '质量行为管理'
            },
            children: [
                {
                    path: '/qualityStarList',
                    component: () => import('@/views/quality/qualityStar'),
                    name: 'qualityStarList',
                    meta: {
                        title: '质量工匠之星'
                    }
                },
                {
                    path: 'qualityStarLook',
                    component: () => import('@/views/quality/qualityStar/LookStar'),
                    name: 'qualityStarLook',
                    meta: {
                        title: '查看质量工匠之星',
                        noTab: true
                    }
                },
                {
                    path: '/qualityConference',
                    name: 'qualityConference',
                    meta: {
                        title: '质量例会'
                    },
                    component: () => import('@/views/quality/conference')
                },
                {
                    path: 'qualityConferenceEdit',
                    component: () => import('@/views/quality/conference/conferenceEdit'),
                    name: 'qualityConferenceEdit',
                    meta: {
                        title: '新增会议',
                        noTab: true
                    }
                },
                {
                    path: 'qualityConferenceInputSummary',
                    component: () => import('@/views/quality/conference/inputSummary'),
                    name: 'qualityConferenceInputSummary',
                    meta: {
                        title: '会议详情',
                        noTab: true
                    }
                },
                {
                    path: '/dutySystem',
                    component: () => import('@/views/quality/dutySystem'),
                    name: 'dutySystem',
                    meta: {
                        title: '质量岗位责任制'
                    }
                },
                {
                    path: '/dutySystemEdit',
                    component: () => import('@/views/quality/dutySystem/dutySystemEdit'),
                    name: 'dutySystemEdit',
                    meta: {
                        title: '质量岗位责任制详情',
                        noTab: true
                    }
                },
                {
                    path: '/dutySystemView',
                    component: () => import('@/views/quality/dutySystem/dutySystemView'),
                    name: 'dutySystemView',
                    meta: {
                        title: '质量岗位责任制详情',
                        noTab: true
                    }
                },
                {
                    path: '/dutySystemSign',
                    component: () => import('@/views/quality/dutySystem/dutySystemSign'),
                    name: 'dutySystemSign',
                    meta: {
                        title: '确认签名',
                        noTab: true
                    }
                }
            ]
        },
        {
            path: '/quality/qualityInspection',
            name: 'qualityInspection',
            meta: {
                title: '质量风险管理'
            },
            component: RouteView,
            redirect: '/quality/qualityInspection/qualityInspectionRecord',
            children: [
                {
                    path: '/quality/qualityInspection/qualityInspectionRecord',
                    name: 'qualityInspectionRecord',
                    meta: {
                        title: '现场质量检查'
                    },
                    component: () => import('@/views/quality/qualityInspection/qualityInspectionRecord')
                },
                {
                    path: '/quality/problemRectificationManage',
                    name: 'problemRectificationManage',
                    meta: {
                        title: '质量问题跟踪'
                    },
                    component: RouteView,
                    redirect: '/quality/problemRectificationManage/proejctProblem',
                    children: [
                        {
                            path: '/quality/problemRectificationManage/proejctProblem',
                            name: 'problemRectificationManage',
                            meta: {
                                title: '全部问题',
                                keepAlive: true // 需要被缓存
                            },
                            component: () => import('@/views/quality/problemRectificationManage'),
                        },
                        {
                            path: '/quality/problemRectificationManage/entityEngineer',
                            name: 'entityEngineer',
                            meta: {
                                title: '工程实体问题',
                                keepAlive: true // 需要被缓存
                            },
                            component: () => import('@/views/quality/problemRectificationManage/entityEngineer'),
                        },
                        {
                            path: '/quality/problemRectificationManage/questionMeasure',
                            name: 'questionMeasure',
                            meta: {
                                title: '工程措施问题',
                                keepAlive: true // 需要被缓存
                            },
                            component: () => import('@/views/quality/problemRectificationManage/questionMeasure'),
                        },
                        {
                            path: '/quality/problemRectificationManage/questionData',
                            name: 'questionData',
                            meta: {
                                title: '工程资料问题',
                                keepAlive: true // 需要被缓存
                            },
                            component: () => import('@/views/quality/problemRectificationManage/questionData'),
                        },
                        {
                            path: '/quality/problemRectificationManage/problemBehavior',
                            name: 'problemBehavior',
                            meta: {
                                title: '管理行为问题',
                                keepAlive: true // 需要被缓存
                            },
                            component: () => import('@/views/quality/problemRectificationManage/problemBehavior.vue'),
                        }
                    ]
                },
                {
                    path: '/quality/recordInfo',
                    name: 'recordInfo',
                    meta: {
                        title: '质量问题跟踪',
                        noTab: true
                    },
                    component: () => import('@/views/quality/components/recordInfo')
                },
                {
                    path: '/quality/newRecordInfo',
                    name: 'newRecordInfo',
                    meta: {
                        title: '质量问题跟踪',
                        noTab: true
                    },
                    component: () => import('@/views/quality/components/newRecordInfo')
                },
                {
                    path: '/quality/proejctProblemRecordInfo',
                    name: 'proejctProblemRecordInfo',
                    meta: {
                        title: '质量问题跟踪',
                        noTab: true
                    },
                    component: () => import('@/views/quality/components/proejctProblemRecordInfo')
                },
                {
                    path: '/quality/rewardAndPenalty/rewardAndPenaltyManage',
                    name: 'rewardAndPenaltyManage',
                    meta: {
                        title: '质量奖罚管理',
                        keepAlive: true // 需要被缓存
                    },
                    component: () => import('@/views/quality/rewardAndPenalty/rewardAndPenaltyManage')
                },
                {
                    path: '/quality/rewardAndPenalty/rewardAndPenaltyManage/rewardAndPenaltyManageEdit',
                    name: '/quality/rewardAndPenalty/rewardAndPenaltyManage/rewardAndPenaltyManageEdit',
                    meta: {
                        title: '质量奖罚管理详情',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/quality/rewardAndPenalty/rewardAndPenaltyManage/rewardAndPenaltyManageEdit')
                },
                {
                    path: '/quality/riskAssessmentProject',
                    name: 'riskAssessmentProjectList',
                    meta: {
                        title: '项目质量风险评价'
                    },
                    component: () => import('@/views/quality/riskAssessmentProject/list')
                },
                {
                    path: '/quality/riskAssessmentProject/summary',
                    name: '/quality/riskAssessmentProject/summary',
                    meta: {
                        title: '汇总评价',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskAssessmentProject/summary')
                },
                {
                    path: '/quality/riskAssessmentProject/info',
                    name: '/quality/riskAssessmentProject/info',
                    meta: {
                        title: '查看评价',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskAssessmentProject/info')
                },
                {
                    path: '/quality/riskIdentification/monitoringPlan',
                    name: 'qualityriskIdentificationmonitoringPlan',
                    meta: {
                        title: '重点监管质量风险监控计划'
                    },
                    component: () => import('@/views/quality/riskIdentification/monitoringPlan')
                },
                {
                    path: '/quality/riskIdentification/monitoringPlanInfo',
                    name: 'qualityriskIdentificationmonitoringPlanInfo',
                    meta: {
                        title: '重点监管质量风险监控计划查看',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskIdentification/monitoringPlan/info')
                },
                {
                    path: '/quality/riskIdentification/riskReporting',
                    name: 'qualityriskIdentificationriskReporting',
                    meta: {
                        title: '质量风险上报'
                    },
                    component: () => import('@/views/quality/riskIdentification/riskReporting')
                },
                {
                    path: '/quality/riskIdentification/riskReportingInfo',
                    name: 'qualityriskIdentificationriskReportingInfo',
                    meta: {
                        title: '质量风险上报查看',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskIdentification/riskReporting/info')
                },
                {
                    path: '/quality/riskIdentification/riskReportingAudit',
                    name: 'qualityriskIdentificationriskReportingAudit',
                    meta: {
                        title: '业务待办',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskIdentification/riskReporting/audit')
                },
                {
                    path: '/quality/riskIdentification/riskTracking',
                    name: '/quality/riskIdentification/riskTracking',
                    meta: {
                        title: '质量风险跟踪'
                    },
                    component: () => import('@/views/quality/riskIdentification/riskTracking')
                },
                {
                    path: '/quality/riskIdentification/riskTrackingInfo',
                    name: 'qualityriskIdentificationriskTrackingInfo',
                    meta: {
                        title: '质量风险跟踪查看',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskIdentification/riskTracking/info')
                },
                {
                    path: '/quality/riskIdentification/riskTrackingAudit',
                    name: 'qualityriskIdentificationriskTrackingAudit',
                    meta: {
                        title: '业务待办（风险方案处理人）',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskIdentification/riskTracking/audit')
                },
                {
                    path: '/quality/riskIdentification/monitoringRecords',
                    name: 'qualityriskIdentificationmonitoringRecords',
                    meta: {
                        title: '质量风险监控记录'
                    },
                    component: () => import('@/views/quality/riskIdentification/monitoringRecords')
                },
                {
                    path: '/quality/riskIdentification/monitoringRecordsReportingInfo',
                    name: 'qualityriskIdentificationmonitoringRecordsReportingInfo',
                    meta: {
                        title: '查看（上报风险）',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskIdentification/monitoringRecords/reportingInfo')
                },
                {
                    path: '/quality/riskIdentification/monitoringRecordsMonitoringInfo',
                    name: 'qualityriskIdentificationmonitoringRecordsMonitoringInfo',
                    meta: {
                        title: '查看（重点监管风险）',
                        noTab: true
                    },
                    component: () => import('@/views/quality/riskIdentification/monitoringRecords/monitoringInfo')
                },
                {
                    path: '/quality/highlight/highlightManage',
                    name: 'highlightManage',
                    meta: {
                        title: '质量亮点管理'
                    },
                    component: () => import('@/views/quality/highlight/highlightManage')
                },
                {
                    path: '/quality/highlight/highlightManage/highlightManageEdit',
                    name: 'highlightManageEdit',
                    meta: {
                        title: '质量亮点详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/highlight/highlightManage/highlightManageEdit')
                },
                {
                    path: '/quality/rectificationNotice',
                    name: 'rectificationNoticeManage',
                    meta: {
                        title: '质量整改通知单'
                    },
                    component: () => import('@/views/quality/rectificationNotice'),
                },
                {
                    path: '/quality/rectificationNoticeEdit',
                    name: 'rectificationNoticeEdit',
                    meta: {
                        title: '质量整改通知单详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/rectificationNotice/rectificationNoticeEdit'),
                },
                {
                    path: '/quality/rectificationNoticeAudit',
                    name: 'rectificationNoticeAudit',
                    meta: {
                        title: '业务待办',
                        noTab: true
                    },
                    component: () => import('@/views/quality/rectificationNotice/rectificationNoticeAudit'),
                }

            ]
        },
        {
            path: '/quality/sixMeasures',
            name: 'sixMeasures',
            meta: {
                title: '品质工程管理'
            },
            component: RouteView,
            redirect: '/quality/sixMeasures/sixMeasuresManage',
            children: [
                {
                    path: '/quality/sixMeasures/sixMeasuresScore/sixMeasuresScoreEdit',
                    name: 'sixMeasuresScoreEdit',
                    meta: {
                        title: '品质工程新六项措施评分',
                        noTab: true
                    },
                    component: () => import('@/views/quality/sixMeasures/sixMeasuresScore/sixMeasuresScoreEdit')
                },
                //v4.0将现系统新六项措施公司评分、新六项措施分公司评分、新六项措施项目自评三个页面整合到新六项措施评分管理页面，功能逻辑不变；
                // {
                //   path: '/quality/sixMeasures/sixMeasuresScoreByProject',
                //   // props: { scoringParty: 0 },
                //   name: 'sixMeasuresScoreByProject',
                //   meta: { title: '新六项措施项目自评', },
                //   component: () => import('@/views/quality/sixMeasures/sixMeasuresScore'),
                // },
                // {
                //   path: '/quality/sixMeasures/sixMeasuresScoreBySubCompany',
                //   // props: { scoringParty: 1 },
                //   name: 'sixMeasuresScoreBySubCompany',
                //   meta: { title: '新六项措施分公司评分', },
                //   component: () => import('@/views/quality/sixMeasures/sixMeasuresScore'),
                // },
                // {
                //   path: '/quality/sixMeasures/sixMeasuresScoreByCompany',
                //   // props: { scoringParty: 2 },
                //   name: 'sixMeasuresScoreByCompany',
                //   meta: { title: '新六项措施评分管理', },
                //   // meta: { title: '新六项措施公司评分', },
                //   component: () => import('@/views/quality/sixMeasures/sixMeasuresScore'),
                // },
                {
                    path: '/quality/sixMeasures/sixMeasuresScoreManage',
                    name: 'sixMeasuresScoreManage',
                    meta: {
                        title: '品质工程新六项措施评分'
                    },
                    component: () => import('@/views/quality/sixMeasures/sixMeasuresScore')
                },
                {
                    path: '/quality/sixMeasures/sixMeasuresManage',
                    name: 'sixMeasuresManage',
                    meta: {
                        title: '品质工程新六项措施计划'
                    },
                    component: () => import('@/views/quality/sixMeasures/sixMeasuresManage')
                },
                {
                    path: '/quality/sixMeasures/sixMeasuresManage/sixMeasuresManageEdit',
                    name: '/quality/sixMeasures/sixMeasuresManage/sixMeasuresManageEdit',
                    meta: {
                        title: '品质工程新六项措施计划',
                        noTab: true
                    },
                    component: () => import('@/views/quality/sixMeasures/sixMeasuresManage/sixMeasuresManageEdit')
                },
                {
                    path: '/quality/sixMeasures/sixMeasuresManage/sixMeasuresManageDetail',
                    name: 'sixMeasuresManageDetail',
                    meta: {
                        title: '品质工程新六项措施计划详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/sixMeasures/sixMeasuresManage/sixMeasuresManageDetail')
                },
                {
                    path: '/quality/governanceScore/governanceScoreManage',
                    name: '/quality/governanceScore/governanceScoreManage',
                    meta: {
                        title: '专项治理评分'
                    },
                    component: () => import('@/views/quality/governanceScore/governanceScoreManage')
                },
                {
                    path: '/quality/governanceScore/governanceScoreManage/governanceScoreManageEdit',
                    name: '/quality/governanceScore/governanceScoreManage/governanceScoreManageEdit',
                    meta: {
                        title: '专项治理评分详情',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/quality/governanceScore/governanceScoreManage/governanceScoreManageEdit')
                }
            ]
        },
        {
            path: '/quality/experiment',
            name: 'experiment',
            meta: {
                title: '试验管理'
            },
            component: RouteView,
            redirect: '/quality/experiment/experimentTable',
            children: [
                {
                    path: '/quality/experiment/experimentPlan',
                    name: 'experimentPlan',
                    meta: {
                        title: '试验计划'
                    },
                    component: () => import('@/views/quality/experiment/experimentPlan')
                },
                {
                    path: '/quality/experiment/experimentPlan/experimentPlanEdit',
                    name: '/quality/experiment/experimentPlan/experimentPlanEdit',
                    meta: {
                        title: '试验计划详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/experiment/experimentPlan/experimentPlanEdit')
                },
                {
                    path: '/quality/experiment/experimentTable',
                    name: 'experimentTable',
                    meta: {
                        title: '试验台账'
                    },
                    component: () => import('@/views/quality/experiment/experimentTable')
                },
                {
                    path: '/quality/experiment/experimentTable/experimentTableEdit',
                    name: 'experimentTableEdit',
                    meta: {
                        title: '试验记录',
                        noTab: true
                    },
                    component: () => import('@/views/quality/experiment/experimentTable/experimentTableEdit')
                }
            ]
        },
        {
            path: '/quality/measuredAmount',
            name: '/quality/measuredAmount',
            meta: {
                title: '实测实量管理'
            },
            redirect: '/quality/measuredAmount/map',
            component: RouteView,
            children: [
                {
                    path: '/quality/measuredAmount/pointListMaintenance/pointListMaintenanceEdit',
                    name: '/quality/measuredAmount/pointListMaintenance/pointListMaintenanceEdit',
                    meta: {
                        title: '添加测量点位',
                        noTab: true
                    },
                    component: () => import('@/views/quality/measuredAmount/pointListMaintenance/pointListMaintenanceEdit')
                },
                {
                    path: '/quality/measuredAmount/pointReconstruction',
                    name: '/quality/measuredAmount/pointReconstruction',
                    meta: {
                        title: '实测实量点位重构管理'
                    },
                    component: () => import('@/views/quality/measuredAmount/pointReconstruction')
                },
                {
                    path: '/quality/measuredAmount/pointReconstruction/pointReconstructionEdit',
                    name: '/quality/measuredAmount/pointReconstruction/pointReconstructionEdit',
                    meta: {
                        title: '实测实量点位查看',
                        noTab: true
                    },
                    component: () => import('@/views/quality/measuredAmount/pointReconstruction/pointReconstructionEdit')
                },
                {
                    path: '/quality/measuredAmount/map',
                    name: '/quality/measuredAmount/map',
                    meta: {
                        title: '点位地图'
                    },
                    component: () => import('@/views/quality/measuredAmount/map')
                },
                {
                    path: '/quality/measuredAmount/deskAccount',
                    name: '/quality/measuredAmount/deskAccount',
                    meta: {
                        title: '实测实量台账'
                    },
                    component: () => import('@/views/quality/measuredAmount/deskAccount')
                },
                {
                    path: '/quality/measuredAmount/deskAccount/deskAccountEdit',
                    name: '/quality/measuredAmount/deskAccount/deskAccountEdit',
                    meta: {
                        title: '实测实量编辑页',
                        noTab: true
                    },
                    component: () => import('@/views/quality/measuredAmount/deskAccount/deskAccountEdit')
                },
                {
                    path: '/quality/measuredAmount/thirdParty',
                    name: 'qualitymeasuredAmountthirdParty',
                    meta: {
                        title: '第三方实测实量',
                    },
                    component: () => import('@/views/quality/measuredAmount/thirdParty')
                },
                {
                    path: '/quality/measuredAmount/thirdParty/info',
                    name: 'qualitymeasuredAmountthirdPartyinfo',
                    meta: {
                        title: '第三方实测实量查看',
                        noTab: true
                    },
                    component: () => import('@/views/quality/measuredAmount/thirdParty/info')
                },
                {
                    path: '/quality/measuredAmount/statistics',
                    name: '/quality/measuredAmount/statistics',
                    meta: {
                        title: '实测实量统计'
                    },
                    component: () => import('@/views/quality/measuredAmount/statistics')
                },
                {
                    path: '/quality/measuredAmount/statisticalAnalysis',
                    name: '/quality/measuredAmount/statisticalAnalysis',
                    meta: {
                        title: '统计分析'
                    },
                    component: () => import('@/views/quality/measuredAmount/statisticalAnalysis')
                },
                {
                    path: '/quality/measuredAmount/statisticalAnalysis/statisticalAnalysisEdit',
                    name: '/quality/measuredAmount/statisticalAnalysis/statisticalAnalysisEdit',
                    meta: {
                        title: '查看统计',
                        noTab: true
                    },
                    component: () => import('@/views/quality/measuredAmount/statisticalAnalysis/statisticalAnalysisEdit')
                },
                {
                    path: '/quality/measuredAmount/statisticalAnalysis/statisticalAnalysisDetail',
                    name: '/quality/measuredAmount/statisticalAnalysis/statisticalAnalysisDetail',
                    meta: {
                        title: '查看点位统计',
                        noTab: true
                    },
                    component: () => import('@/views/quality/measuredAmount/statisticalAnalysis/statisticalAnalysisEdit')
                }
            ]
        },
        {
            path: '/quality/receivanceManagement',
            name: '/quality/receivanceManagement',
            redirect: '/quality/receivanceManagement/receivancePlan',
            meta: {
                title: '质量验收管理'
            },
            component: RouteView,
            children: [
                {
                    path: '/quality/receivanceManagement/receivancePlan',
                    name: '/quality/receivanceManagement/receivancePlan',
                    meta: {
                        title: '质量验收计划'
                    },
                    component: () => import('@/views/quality/receivanceManagement/receivancePlan')
                },
                {
                    path: '/quality/receivanceManagement/receivancePlan/receivancePlanEdit',
                    name: '/quality/receivanceManagement/receivancePlan/receivancePlanEdit',
                    meta: {
                        title: '质量验收计划维护',
                        noTab: true
                    },
                    component: () => import('@/views/quality/receivanceManagement/receivancePlan/receivancePlanEdit')
                },
                {
                    path: '/quality/receivanceManagement/receivanceRecord',
                    name: '/quality/receivanceManagement/receivanceRecord',
                    meta: {
                        title: '质量验收记录'
                    },
                    component: () => import('@/views/quality/receivanceManagement/receivanceRecord')
                },
                {
                    path: '/quality/receivanceManagement/receivanceRecord/receivanceRecordEdit',
                    name: '/quality/receivanceManagement/receivanceRecord/receivanceRecordEdit',
                    meta: {
                        title: '质量验收记录维护',
                        noTab: true
                    },
                    component: () => import('@/views/quality/receivanceManagement/receivanceRecord/receivanceRecordEdit')
                },
                {
                    path: '/quality/preAcceptanceManagement/preAcceptanceApplication',
                    name: '/quality/preAcceptanceManagement/preAcceptanceApplication',
                    meta: {
                        title: '预验收申请'
                    },
                    component: () => import('@/views/quality/preAcceptanceManagement/preAcceptanceApplication')
                },
                {
                    path: '/quality/preAcceptanceManagement/preAcceptanceApplication/preAcceptanceApplicationEdit',
                    name: '/quality/preAcceptanceManagement/preAcceptanceApplication/preAcceptanceApplicationEdit',
                    meta: {
                        title: '预验收申请详情',
                        noTab: true
                    },
                    component: () =>
                        import(
                            '@/views/quality/preAcceptanceManagement/preAcceptanceApplication/preAcceptanceApplicationEdit'
                        )
                },
                {
                    path: '/quality/receivanceManagement/receivanceRecord/acceptanceDailyRecordEdit',
                    name: '/quality/receivanceManagement/receivanceRecord/acceptanceDailyRecordEdit',
                    meta: {
                        title: '查看日常验收记录',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/quality/receivanceManagement/receivanceRecord/acceptanceDailyRecordEdit')
                },
                {
                    path: '/quality/receivanceManagement/receivanceRecord/acceptanceSubItemEdit',
                    name: '/quality/receivanceManagement/receivanceRecord/acceptanceSubItemEdit',
                    meta: {
                        title: '查看分部分项记录',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/quality/receivanceManagement/receivanceRecord/acceptanceSubItemEdit')
                },
                {
                    path: '/quality/receivanceManagement/receivanceRecord/acceptanceCompletionEdit',
                    name: '/quality/receivanceManagement/receivanceRecord/acceptanceCompletionEdit',
                    meta: {
                        title: '查看竣工验收记录',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/quality/receivanceManagement/receivanceRecord/acceptanceCompletionEdit')
                },
                {
                    path: '/quality/receivanceManagement/receivanceRecord/acceptanceSpecialEdit',
                    name: '/quality/receivanceManagement/receivanceRecord/acceptanceSpecialEdit',
                    meta: {
                        title: '查看单位工程/阶段验收/专项验收记录',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/quality/receivanceManagement/receivanceRecord/acceptanceSpecialEdit')
                },
            ]
        },
        {
            path: '/quality/preAcceptanceManagement',
            name: '/quality/preAcceptanceManagement',
            redirect: '/quality/preAcceptanceManagement/preAcceptanceApplication',
            meta: {
                title: '单位工程预验收管理'
            },
            component: RouteView,
            children: [
                {
                    path: '/quality/preAcceptanceManagement/preAcceptanceRecord',
                    name: '/quality/preAcceptanceManagement/preAcceptanceRecord',
                    meta: {
                        title: '单位工程预验收记录'
                    },
                    component: () => import('@/views/quality/preAcceptanceManagement/preAcceptanceRecord')
                },
                {
                    path: '/quality/preAcceptanceManagement/preAcceptanceRecord/preAcceptanceRecordEdit',
                    name: '/quality/preAcceptanceManagement/preAcceptanceRecord/preAcceptanceRecordEdit',
                    meta: {
                        title: '单位工程预验收记录详情',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/quality/preAcceptanceManagement/preAcceptanceRecord/preAcceptanceRecordEdit')
                }
            ]
        },
        {
            path: '/quality/modelProject',
            name: '/quality/modelProject',
            meta: {
                title: '样板工程管理'
            },
            redirect: '/quality/modelProject/implementationPlan',
            component: RouteView,
            children: [
                {
                    path: '/quality/modelProject/implementationPlan',
                    name: '/quality/modelProject/implementationPlan',
                    meta: {
                        title: '样板工程实施计划'
                    },
                    component: () => import('@/views/quality/modelProject/implementationPlan')
                },
                {
                    path: '/quality/modelProject/implementationPlan/implementationPlanEdit',
                    name: '/quality/modelProject/implementationPlan/implementationPlanEdit',
                    meta: {
                        title: '样板工程实施计划新增',
                        noTab: true
                    },
                    component: () => import('@/views/quality/modelProject/implementationPlan/implementationPlanEdit')
                },
                {
                    path: '/quality/modelProject/implementationPlan/implementationPlanDetail',
                    name: 'implementationPlanDetail',
                    meta: {
                        title: '样板工程实施计划详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/modelProject/implementationPlan/implementationPlanDetail')
                },
                {
                    path: '/quality/modelProject/acceptanceRecord',
                    name: '/quality/modelProject/acceptanceRecord',
                    meta: {
                        title: '样板验收记录'
                    },
                    component: () => import('@/views/quality/modelProject/acceptanceRecord')
                },
                {
                    path: '/quality/modelProject/acceptanceRecord/acceptanceRecordEdit',
                    name: '/quality/modelProject/acceptanceRecord/acceptanceRecordEdit',
                    meta: {
                        title: '样板验收记录详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/modelProject/acceptanceRecord/acceptanceRecordEdit')
                },
                {
                    path: '/quality/modelProject/siteRecord',
                    name: '/quality/modelProject/siteRecord',
                    meta: {
                        title: '样板旁站记录'
                    },
                    component: () => import('@/views/quality/modelProject/siteRecord')
                },
                {
                    path: '/quality/modelProject/siteRecord/siteRecordEdit',
                    name: '/quality/modelProject/siteRecord/siteRecordEdit',
                    meta: {
                        title: '样板旁站记录详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/modelProject/siteRecord/siteRecordEdit')
                },
                {
                    path: '/quality/modelProject/exhibitionAreaApplication',
                    name: '/quality/modelProject/exhibitionAreaApplication',
                    meta: {
                        title: '展示区样板实施申请'
                    },
                    component: () => import('@/views/quality/modelProject/exhibitionAreaApplication')
                },
                {
                    path: '/quality/modelProject/exhibitionAreaApplication/exhibitionAreaApplicationEdit',
                    name: '/quality/modelProject/exhibitionAreaApplication/exhibitionAreaApplicationEdit',
                    meta: {
                        title: '展示区样板实施申请详情',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/quality/modelProject/exhibitionAreaApplication/exhibitionAreaApplicationEdit')
                }
            ]
        },
        {
            path: '/quality/plotProgram',
            name: '/quality/plotProgram',
            meta: {
                title: '质量策划及方案管理'
            },
            redirect: '/quality/plotProgram/manage',
            component: RouteView,
            children: [
                {
                    path: '/quality/plotProgram/manage',
                    name: '/quality/plotProgram/manage',
                    meta: {
                        title: '质量策划'
                    },
                    component: () => import('@/views/quality/plotProgram')
                },
                {
                    path: '/quality/plotProgram/plotProgramEdit',
                    name: '/quality/plotProgram/plotProgramEdit',
                    meta: {
                        title: '质量策划详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/plotProgram/plotProgramEdit')
                },
                {
                    path: '/quality/excellentPlanning/manage',
                    name: '/quality/excellentPlanning/manage',
                    meta: {
                        title: '质量创优策划',
                        keepAlive: true // 需要被缓存
                    },
                    component: () => import('@/views/quality/excellentPlanning')
                },
                {
                    path: '/quality/excellentPlanning/excellentPlanningEdit',
                    name: '/quality/excellentPlanning/excellentPlanningEdit',
                    meta: {
                        title: '质量创优策划详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/excellentPlanning/excellentPlanningEdit')
                },
                {
                    path: '/quality/measuredAmount/programme',
                    name: '/quality/measuredAmount/programme',
                    props: {
                        programmeType: 1
                    },
                    meta: {
                        title: '实测实量方案'
                    },
                    component: () => import('@/views/quality/programme')
                },
                {
                    path: '/quality/measuredAmount/programmeEdit',
                    name: '/quality/measuredAmount/programmeEdit',
                    meta: {
                        title: '实测实量方案',
                        noTab: true
                    },
                    component: () => import('@/views/quality/programme/programmeEdit')
                },
                {
                    path: '/quality/modelProject/programme',
                    props: {
                        programmeType: 2
                    },
                    name: '/quality/modelProject/programme',
                    meta: {
                        title: '样板引路实施方案'
                    },
                    component: () => import('@/views/quality/programme')
                },
                {
                    path: '/quality/modelProject/programmeEdit',
                    name: '/quality/modelProject/programmeEdit',
                    meta: {
                        title: '样板引路实施方案',
                        noTab: true
                    },
                    component: () => import('@/views/quality/programme/programmeEdit')
                },
                {
                    path: '/quality/sixMeasures/programme',
                    props: {
                        programmeType: 3
                    },
                    name: '/quality/sixMeasures/programme',
                    meta: {
                        title: '品质工程六项措施方案'
                    },
                    component: () => import('@/views/quality/programme')
                },
                {
                    path: '/quality/sixMeasures/programmeEdit',
                    name: '/quality/sixMeasures/programmeEdit',
                    meta: {
                        title: '品质工程六项措施方案',
                        noTab: true
                    },
                    component: () => import('@/views/quality/programme/programmeEdit')
                },
                {
                    path: '/quality/governancePlan/manage',
                    name: '/quality/governancePlan/manage',
                    meta: {
                        title: '专项治理方案'
                    },
                    component: () => import('@/views/quality/governancePlan')
                },
                {
                    path: '/quality/governancePlan/governancePlanEdit',
                    name: '/quality/governancePlan/governancePlanEdit',
                    meta: {
                        title: '专项治理方案详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/governancePlan/governancePlanEdit')
                },
                {
                    path: '/quality/specialProgram',
                    name: 'specialProgram',
                    meta: {
                        title: '质量管理专项方案',
                    },
                    component: () => import('@/views/technical/ShiGroup/Approval/specialProgram')
                },
            ]
        },
        {
            path: '/quality/excellenceManagement',
            name: '/quality/excellenceManagement',
            meta: { title: '质量创优管理', },
            redirect: '/quality/excellentTable',
            component: RouteView,
            children: [
                {
                    path: '/excellenceTable',
                    name: 'excellenceTable',
                    meta: {
                        title: '质量创优奖项台账'
                    },
                    component: () => import('@/views/quality/excellenceManagement/excellenceTable')
                },
                {
                    path: '/excellenceTableEdit',
                    name: 'excellenceTableEdit',
                    meta: {
                        title: '质量创优奖项台账详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/excellenceManagement/excellenceTable/excellenceTableEdit')
                },
                {
                    path: '/excellenceApplication',
                    name: 'excellenceApplication',
                    meta: {
                        title: '质量创优申报资料案例库'
                    },
                    component: () => import('@/views/quality/excellenceManagement/excellenceApplication')
                },
                {
                    path: '/excellenceApplicationEdit',
                    name: 'excellenceApplicationEdit',
                    meta: {
                        title: '质量创优申报资料案例库详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/excellenceManagement/excellenceApplication/excellenceApplicationEdit')
                },
                {
                    path: '/excellenceBudget',
                    name: 'excellenceBudget',
                    meta: {
                        title: '质量创优预算'
                    },
                    component: () => import('@/views/quality/excellenceManagement/excellenceBudget')
                },
                {
                    path: '/excellenceBudgetEdit',
                    name: 'excellenceBudgetEdit',
                    meta: {
                        title: '质量创优预算详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/excellenceManagement/excellenceBudget/excellenceBudgetEdit')
                }
            ]
        },
        // {
        //   path: '/quality/governancePlan',
        //   name: '/quality/governancePlan',
        //   meta: {
        //     title: '专项治理'
        //   },
        //   redirect: '/quality/governancePlan/manage',
        //   component: RouteView,
        //   children: [
        //     {
        //       path: '/quality/governancePlan/manage',
        //       name: '/quality/governancePlan/manage',
        //       meta: {
        //         title: '专项治理方案管理'
        //       },
        //       component: () => import('@/views/quality/governancePlan')
        //     },
        //     {
        //       path: '/quality/governancePlan/governancePlanEdit',
        //       name: '/quality/governancePlan/governancePlanEdit',
        //       meta: {
        //         title: '专项治理方案管理详情',
        //         noTab: true
        //       },
        //       component: () => import('@/views/quality/governancePlan/governancePlanEdit')
        //     }
        //   ]
        // },
        // {
        //     path: '/quality/governanceScore',
        //     name: '/quality/governanceScore',
        //     meta: {
        //         title: '专项治理评分'
        //     },
        //     redirect: '/quality/governanceScore/plotProgramManage',
        //     component: RouteView,
        //     children: [
        //         {
        //             path: '/quality/governanceScore/governanceScoreManage',
        //             name: '/quality/governanceScore/governanceScoreManage',
        //             meta: {
        //                 title: '专项治理评分'
        //             },
        //             component: () => import('@/views/quality/governanceScore/governanceScoreManage')
        //         },
        //         {
        //             path: '/quality/governanceScore/governanceScoreManage/governanceScoreManageEdit',
        //             name: '/quality/governanceScore/governanceScoreManage/governanceScoreManageEdit',
        //             meta: {
        //                 title: '专项治理评分详情',
        //                 noTab: true
        //             },
        //             component: () =>
        //                 import('@/views/quality/governanceScore/governanceScoreManage/governanceScoreManageEdit')
        //         }
        //     ]
        // },
        {
            path: '/quality/resultsManagement',
            name: '/quality/resultsManagement',
            meta: {
                title: '质量成果管理'
            },
            redirect: '/QCActivityRegistration',
            component: RouteView,
            children: [
                {
                    path: '/QCActivityRegistration',
                    name: 'QCActivityRegistration',
                    meta: {
                        title: 'QC活动课题注册'
                    },
                    component: () => import('@/views/quality/resultsManagement/QCActivityRegistration')
                },
                {
                    path: '/QCActivityRegistrationEdit',
                    name: 'QCActivityRegistrationEdit',
                    meta: {
                        title: 'QC活动课题注册详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/resultsManagement/QCActivityRegistration/QCActivityRegistrationEdit')
                },
                {
                    path: '/QCActivityReport',
                    name: 'QCActivityReport',
                    meta: {
                        title: 'QC活动成果报告'
                    },
                    component: () => import('@/views/quality/resultsManagement/QCActivityReport')
                },
                {
                    path: '/QCActivityReportEdit',
                    name: 'QCActivityReportEdit',
                    meta: {
                        title: 'QC活动成果报告详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/resultsManagement/QCActivityReport/QCActivityReportEdit')
                },
                {
                    path: '/QCActivityResult',
                    name: 'QCActivityResult',
                    meta: {
                        title: 'QC活动成果资料评审'
                    },
                    component: () => import('@/views/quality/resultsManagement/QCActivityResult')
                },
                {
                    path: '/QCActivityResultEdit',
                    name: 'QCActivityResultEdit',
                    meta: {
                        title: 'QC活动成果资料评审详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/resultsManagement/QCActivityResult/QCActivityResultEdit')
                },
                {
                    path: '/scoringProcessing',
                    name: 'scoringProcessing',
                    meta: {
                        title: '评分处理',
                        noTab: true
                    },
                    component: () => import('@/views/quality/resultsManagement/QCActivityResult/scoringProcessing')
                }
            ]
        },
        {
            path: '/quality/reportManagement',
            name: 'qualityReportManagement',
            meta: {
                title: '质量报表管理'
            },
            redirect: '/monthlyMeterialReport',
            component: RouteView,
            children: [
                {
                    path: '/monthlyMeterialReport',
                    name: 'monthlyMeterialReport',
                    meta: {
                        title: '编制材料复试月报'
                    },
                    component: () => import('@/views/quality/reportManagement/monthlyMeterialReport')
                },
                {
                    path: '/workMonthlyReport',
                    name: 'workMonthlyReport',
                    meta: {
                        title: '质量管理工作月报'
                    },
                    component: () => import('@/views/quality/reportManagement/workMonthlyReport')
                },
                {
                    path: '/workMonthlyReportEdit',
                    name: 'workMonthlyReportEdit',
                    meta: {
                        title: '质量管理工作月报详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/reportManagement/workMonthlyReport/workMonthlyReportEdit')
                }
            ]
        },
        {
            path: '/quality/equipmentManagement',
            name: 'qualityEquipmentManagement',
            meta: {
                title: '计量设备管理'
            },
            redirect: '/quality/equipmentManagement/ownEquipmentLedgerList',
            component: RouteView,
            children: [
                {
                    path: '/quality/equipmentManagement/ownEquipmentLedgerList',
                    name: 'ownEquipmentLedgerList',
                    meta: {
                        title: '自有计量设备台账'
                    },
                    component: () => import('@/views/quality/equipmentManagement/ownEquipmentLedger/list')
                },
                {
                    path: '/quality/equipmentManagement/ownEquipmentLedgerInfo',
                    name: 'ownEquipmentLedgerInfo',
                    meta: {
                        title: '自有计量设备台账',
                        noTab: true
                    },
                    component: () => import('@/views/quality/equipmentManagement/ownEquipmentLedger/info')
                },
                {
                    path: '/quality/equipmentManagement/equipmentConfigurationPlanList',
                    name: 'equipmentConfigurationPlanList',
                    meta: {
                        title: '计量设备配置计划'
                    },
                    component: () => import('@/views/quality/equipmentManagement/equipmentConfigurationPlan/list')
                },
                {
                    path: '/quality/equipmentManagement/equipmentConfigurationPlanInfo',
                    name: 'equipmentConfigurationPlanInfo',
                    meta: {
                        title: '计量设备配置计划',
                        noTab: true
                    },
                    component: () => import('@/views/quality/equipmentManagement/equipmentConfigurationPlan/info')
                },
                {
                    path: '/quality/equipmentManagement/projectMeterageEquipmentAccount',
                    name: 'projectMeterageEquipmentAccount',
                    meta: {
                        title: '项目计量设备台账'
                    },
                    component: () => import('@/views/quality/equipmentManagement/projectMeterageEquipmentAccount/index')
                },
                {
                    path: '/quality/equipmentManagement/projectMeterageEquipmentAccountInfo',
                    name: 'projectMeterageEquipmentAccountInfo',
                    meta: {
                        title: '项目计量设备台账表单',
                        noTab: true
                    },
                    component: () => import('@/views/quality/equipmentManagement/projectMeterageEquipmentAccount/info')
                },
                {
                    path: '/quality/equipmentManagement/meterageEquipmentAllocate',
                    name: 'meterageEquipmentAllocate',
                    meta: {
                        title: '计量设备调拨'
                    },
                    component: () => import('@/views/quality/equipmentManagement/meterageEquipmentAllocate/index')
                },
                {
                    path: '/quality/equipmentManagement/meterageEquipmentAllocateInfo',
                    name: 'meterageEquipmentAllocateInfo',
                    meta: {
                        title: '计量设备调拨表单',
                        noTab: true
                    },
                    component: () => import('@/views/quality/equipmentManagement/meterageEquipmentAllocate/info')
                },  
                {
                    path: '/quality/equipmentManagement/recordDeviceReturnManagementList',
                    name: 'recordDeviceReturnManagementList',
                    meta: {
                        title: '记录设备归返管理'
                    },
                    component: () => import('@/views/quality/equipmentManagement/recordDeviceReturnManagement/list')
                },
                {
                    path: '/quality/equipmentManagement/recordDeviceReturnManagementInfo',
                    name: 'recordDeviceReturnManagementInfo',
                    meta: {
                        title: '记录设备归返管理',
                        noTab: true
                    },
                    component: () => import('@/views/quality/equipmentManagement/recordDeviceReturnManagement/info')
                },
                {
                    path: '/quality/equipmentManagement/meterageEquipmentGrant',
                    name: 'meterageEquipmentGrant',
                    meta: {
                        title: '计量设备发放管理'
                    },
                    component: () => import('@/views/quality/equipmentManagement/meterageEquipmentGrant/index')
                },
                {
                    path: '/quality/equipmentManagement/meterageEquipmentGrantInfo',
                    name: 'meterageEquipmentGrantInfo',
                    meta: {
                        title: '计量设备发放管理详情',
                        noTab: true
                    },
                    component: () => import('@/views/quality/equipmentManagement/meterageEquipmentGrant/info')
                },  
            ]
        }
    ]
}
